<div id="flash_messages">
  <% if notice %>
    <p id="flash_success" class="alert alert-success">
      <button type="button" class="close" data-dismiss="alert">&times;</button>
      <%= notice %>
    </p>
  <% elsif alert %>
    <p id="flash_error" class="alert alert-error">
      <button type="button" class="close" data-dismiss="alert">&times;</button>
      <%= alert %>
    </p>
  <% end %>
</div>